XY Chart NET 3 Control Reference
Annotations Class

Annotations Class consists of the following properties:

Property Parameters Description Data Type
Count None. Read-only property. Returns the number of Annotations in the collection. Integer
Type index - an Integer which specifies the zero-based index of the Annotation within the collection. Read-only property. Returns the type of Annotation for the passed in index. Enumerated type consisting of the following options:
  • anArrow (=0)
  • anEllipse (=1)
  • anLine (=2)
  • anRectangle (=3)
  • anText (=4)
  • anTrendline (=5)

 

Annotations Class also consists of the following methods:

Method Parameters Description
Add annType - an enumerated type consisting of the following options:
  • anArrow (=0)
  • anEllipse (=1)
  • anLine (=2)
  • anRectangle (=3)
  • anText (=4)
  • anTrendline (=5)
Creates an annotation item of type annType and adds it to the Annotations collection. The annotation's object is returned.
Item index - an Integer which specifies the zero-based index of the Annotation within the collection. Retrieves the annotation item at the specified index. The annotation's object is returned if the index is valid.
Remove index - an Integer which specifies the zero-based index of the Annotation within the collection. Deletes the annotation item at the specified index from the Annotations collection.
RemoveAll None. Deletes all items from the Annotations collection.

 

See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.